﻿<%@ Page Language="C#" MasterPageFile="~/Utils.master" AutoEventWireup="true" CodeFile="ForgotPassword.aspx.cs"
    Inherits="ForgotPassword" Title="Forgot Password" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpBody" runat="server">
    <div align="center">
        <div class="CreateAccountArea">
            <h2 class="MessageTitle">
                Forgot your Password
            </h2>
            <div class="MessageContent">
                <div class="FormArea">
                    <div style="height: 25px;">
                    </div>
                    <asp:PasswordRecovery ID="PasswordRecovery1" runat="server" OnSendingMail="PasswordRecovery1_SendingMail">
                        <MailDefinition BodyFileName="~/EmailTemplates/PasswordRecovery.htm" Subject="Your Sueetie.org Account Information"
                            IsBodyHtml="true">
                        </MailDefinition>
                        <UserNameTemplate>
                            <div class="ForgetPasswordArea">
                                <p>
                                    Please enter your Sueetie.org username below to receive your password.
                                </p>
                                <p>
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" CssClass="LoginBoxBig"
                                        Width="220" Text="Username" /></p>
                                <p>
                                    <asp:TextBox ID="UserName" runat="server" CssClass="LoginBoxBig" Width="220"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="PasswordRecovery1">*</asp:RequiredFieldValidator>
                                </p>
                                <div class="TextButtonBigArea">
                                    <asp:Button ID="CancelButton" OnClick="Cancel_Click" runat="server" Text="Cancel"
                                        CssClass="TextButtonBig" />&nbsp;
                                    <asp:Button ID="SendEmailButton" CommandName="Submit" runat="server" Text="Send"
                                        CssClass="TextButtonBig" ValidationGroup="PasswordRecovery1" />
                                </div>
                                <div class="LoginFailureMessageArea">
                                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                </div>
                                <div class="LoginFailureMessageArea">
                                    <a href="ForgotUsername.aspx">Forgot your username?</a>
                                </div>
                                <div style="height: 25px;">
                                </div>
                            </div>
                        </UserNameTemplate>
                    </asp:PasswordRecovery>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
